<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/temp.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>temp</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
.STYLE3 {font-family: Arial, Helvetica, sans-serif}
.STYLE4 {font-size: 10px}
.STYLE7 {font-family: Arial, Helvetica, sans-serif; font-size: 14px; }
.STYLE8 {color: #6C0101}
-->
</style>
</head>

<body  style="background-image:url(../images/websitebackgrund.png);">
<table width="802" border="0">
  <tr>
  <td width="178" ><a href="index.php" class="STYLE7"><img src="../images/logo.jpg" alt="Home Page" width="141" height="126" border="0" /></a></td>
    <td width="130"><a href="index.php" class="STYLE7">User Login</a> </td>
	<td width="159"><a href="superUserLogin.php" class="STYLE7">Super User Login</a> </td>
    <td width="157"><a href="managerLogin.php" class="STYLE7">Manager Login</a> </td>
    <td width="156"><a href="adminLogin.php" class="STYLE7">Adminster Login</a> </td>
  </tr>
</table>
<!-- InstanceBeginEditable name="EditRegion" -->
<p>
  <?PHP  
   	include ("../Connections/cpsms.php");
    $id = $_GET['id'];
 	$query = "select * from users where Archiveid='$id';";
	$sql = mysql_query($query) or die(mysql_error());
	$array = mysql_fetch_array($sql);
?>
</p>
<table border="0">
  <tr>
    <td colspan="4"><table width="645" border="1" cellspacing="0">
      <tr>
        <td width="140">Name:</td>
        <td width="143"><?PHP echo $array['username']; ?></td>
        <td width="70">PolicIDNo.</td>
        <td width="150"><?PHP echo $array['PoliceIDNo'];?></td>
        <td width="108" rowspan="4"><?PHP echo $array['photo'];?></td>
      </tr>
      <tr>
        <td>Gender:</td>
        <td><?PHP 
	if($array['Gender'] == 1)
	{echo "Mail";}
	else if($array['Gender'] == 0)
	{echo "Femail";}
	else 
	{echo "";}
	?></td>
        <td>DOB</td>
        <td><?PHP echo $array['DOB'];?></td>
      </tr>
      <tr>
        <td>Birthplace:</td>
        <td><?PHP echo $array['Birthplace'];?></td>
        <td>Ethic</td>
        <td><?PHP echo $array['Ethic'];?></td>
      </tr>
      <tr>
        <td>PoliticalBackGround:</td>
        <td><?PHP echo $array['Political'];?></td>
        <td>ArchiveNo.</td>
        <td><?PHP echo "PC" .$array['Archiveid'];?></td>
      </tr>
      <tr>
        <td>workDate:</td>
        <td><?PHP echo $array['WorkDate'];?></td>
        <td>ParthDate</td>
        <td colspan="2"><?PHP echo $array['PartyDate'];?></td>
      </tr>
      <tr>
        <td>PlolicWorkDate:</td>
        <td><?PHP echo $array['PoliceWorkDate'];?></td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td colspan="2">Current Position: </td>
        <td colspan="3"><?PHP echo $array['CurrentPosition'];?></td>
      </tr>
      <tr>
        <td>Rank:</td>
        <td><?PHP echo $array['Rank'];?></td>
        <td><?PHP ?></td>
        <td><?PHP ?></td>
        <td><?PHP ?></td>
      </tr>
      <tr>
        <td colspan="2">FirstEducation</td>
        <td colspan="3"><?PHP echo $array['FirstEducation'];?></td>
      </tr>
      <tr>
        <td colspan="2">School</td>
        <td colspan="3"><?PHP ?></td>
      </tr>
      <tr>
        <td colspan="2">HighestEducation</td>
        <td colspan="3"><?PHP echo $array['HighestEducation'];?></td>
      </tr>
      <tr>
        <td colspan="2">HighestAcademic INstitution&amp;Professional </td>
        <td colspan="3"><?PHP echo $array['HighestAcademicInstitution'];?></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td width="60">&nbsp;</td>
    <td width="337">&nbsp;</td>
    <td width="180"><form id="form1" name="form1" method="post" action="UCUserLogin.php?id=<?PHP $array['Archiveid']; ?>">
      <input type="submit" name="Submit" value="Delete this user" />
    </form></td>
    <td width="58"><form id="form2" name="form2" method="post" action="ShowAllUser.php">
      <input type="submit" name="Submit2" value="Cancel" />
    </form></td>
  </tr>
</table>
<p></p>
<p></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<!-- InstanceEndEditable --> <div class="STYLE3 STYLE4" style="background:#51A2B9">Copyright 2009_CP3046_G24   | E-mail:<a href="mailto:xiaoguang.bian@gmail.com">xiaoguang.bian@gmail.com</a> | Address: BJUT,chaoyangqu 100,Beijing. 10022
</div>
</body>
<!-- InstanceEnd --></html>
